package com.ddwl.schema.bo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;
import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/4/30 14:48
 */
@ApiModel(description = "会员搜索Bo")
@Setter
@Getter
public class UserSearchBo {

    @ApiModelProperty("用户id")
    private String id;

    @ApiModelProperty("用户ids")
    private List<String> ids;

    @ApiModelProperty("搜索关键字")
    private String keyword;

    @ApiModelProperty("性别")
    private Byte sex;

    @ApiModelProperty("地理信息")
    private String regionId;

    @ApiModelProperty("来源渠道")
    private String product;

    @ApiModelProperty("起始时间")
    private Instant beginDate;

    @ApiModelProperty("截止时间")
    private Instant endDate;

    @ApiModelProperty("邀请码")
    private Instant inviteCode;

    @ApiModelProperty("是否总公司 1总公司 0||null 非总公司")
    private Integer companyAccount;

    @ApiModelProperty("类型(2区域合伙人，1分销员,0普通会员)")
    private Integer type;

    @ApiModelProperty("用户等级id")
    private String userLevelId;

}
